<h1>Listing tour_types</h1>

<table>
  <tr>
    <th>Tour type name</th>
    <th>Description</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @tour_types.each do |tour_type| %>
  <tr>
    <td><%= tour_type.tour_type_name %></td>
    <td><%= tour_type.description %></td>
    <td><%= link_to 'Show', tour_type %></td>
    <td><%= link_to 'Edit', edit_tour_type_path(tour_type) %></td>
    <td><%= link_to 'Destroy', tour_type, method: :delete, data: { confirm: 'Are you sure?' } %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Tour type', new_tour_type_path %>
